<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/commons/include/html_doctype.html" %>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<%@include file="/commons/page/codegen.jsp" %>
		<script type="text/javascript" src="${ctx}/js/gpoint/dfacep/house/campusCard.js"></script>
	</head>
	<body>
		<!-- 顶部按钮 -->
		<div class="wrapper wrapper-content  animated fadeInRight col-sm-12">
			<div class="panel-toolbar ">
				<div class="buttons">
					<a href="javascript:void(0);" class="btn btn-primary fa fa-save" ><span>保存</span></a>
					<a href="list.htm" class="btn btn-primary fa fa-back" ><span>返回</span></a>
				</div>
			</div>
			<div class="">
				<form  class="fr-form"  id="campusCardForm" action="save.htm" >
					<input type="hidden" name="m:campusCard:id"  value="${campusCard.id}"/>

			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">卡号</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:cardnum" value="${campusCard.cardnum}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">卡类型</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:cardtype" value="${campusCard.cardtype}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
				<div class="fr_response_field col-sm-3" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">小区名称</label>
				  	<div class="fr-form-block" data-type="fixed">
				  		<select id="servicecode" value='' name="m:campusCard:servicecode" style="border:1px solid #eee;width:100%;padding:6px 0;margin-top:10px;">
				  		<option value="">--------请选择小区-------</option>
				 	<c:forEach items="${serviceList}" var="service">
						<option value="${service.servicecode}" <c:if test="${campusCard.servicecode==service.servicecode}">selected</c:if>>${service.servicename}</option>
					</c:forEach>
				 	</select>
				 	</div>
			  	</div>
				</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">账户</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:usernum" value="${campusCard.usernum}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">登录密码</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:pwd" value="${campusCard.pwd}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">姓名</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:username" value="${campusCard.username}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">电话</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:phone" value="${campusCard.phone}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">状态</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:status" value="${campusCard.status}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">冻结原因</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:closereason" value="${campusCard.closereason}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">微信unionid</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:wxunionid" value="${campusCard.wxunionid}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">公众号openid</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:gzhopenid" value="${campusCard.gzhopenid}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">小程序openid</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:xcxopenid" value="${campusCard.xcxopenid}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">微信昵称</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:wxnickname" value="${campusCard.wxnickname}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">支付宝id</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:alipayid" value="${campusCard.alipayid}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">支付宝昵称</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:alipaynickname" value="${campusCard.alipaynickname}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">卡片余额</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:balance" value="${campusCard.balance}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">校园卡有效期</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:cardvaliditytime" value="${campusCard.cardvaliditytime}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">支付密码</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:paypassword" value="${campusCard.paypassword}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">创建日期</label>
				  	<div class="fr-form-block" data-type="fixed">
				<div class="input-icon" >
					<i class="fa fa-calendar"></i>
					<input type="text" readonly="readonly" class="fr-form-control datepicker" datefmt="yyyy-MM-dd HH:mm:ss"   name="m:campusCard:createtime"   value="<fmt:formatDate value="${campusCard.createtime}"  pattern="yyyy-MM-dd HH:mm:ss"/>" validate="{required:false}"/>
				</div>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">创建者</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:createuser" value="${campusCard.createuser}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<%-- <div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">修改日期</label>
				  	<div class="fr-form-block" data-type="fixed">
				<div class="input-icon" >
					<i class="fa fa-calendar"></i>
					<input type="text" readonly="readonly" class="fr-form-control datepicker" datefmt="yyyy-MM-dd HH:mm:ss"   name="m:campusCard:updatetime"   value="<fmt:formatDate value="${campusCard.updatetime}"  pattern="yyyy-MM-dd"/>" validate="{required:false}"/>
				</div>
				  					
				 	</div>
			  	</div>
			</div> --%>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">修改者</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:updateuser" value="${campusCard.updateuser}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">扩展字段1</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:ext1" value="${campusCard.ext1}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">扩展字段2</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:ext2" value="${campusCard.ext2}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">扩展字段3</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:ext3" value="${campusCard.ext3}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">CARDUID</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:carduid" value="${campusCard.carduid}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">CARDSN</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:cardsn" value="${campusCard.cardsn}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">用户默认支付方式</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:userpaytype" value="${campusCard.userpaytype}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">WALLET1</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:wallet1" value="${campusCard.wallet1}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">WALLET2</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:wallet2" value="${campusCard.wallet2}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">WALLET3</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:wallet3" value="${campusCard.wallet3}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">WALLET4</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:wallet4" value="${campusCard.wallet4}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">WALLET5</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:wallet5" value="${campusCard.wallet5}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">证件类型</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:certtype" value="${campusCard.certtype}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">身份证号</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:certnum" value="${campusCard.certnum}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">WHITELISTVERSION</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:whitelistversion" value="${campusCard.whitelistversion}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">EXTENDACCOUNT</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:extendaccount" value="${campusCard.extendaccount}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">ISADMIN</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:isadmin" value="${campusCard.isadmin}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">ORGCODE</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:orgcode" value="${campusCard.orgcode}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">PID</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:pid" value="${campusCard.pid}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-6" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">性别</label>
				  	<div class="fr-form-block" data-type="fixed">
				<%-- <input type="text" class="fr-form-control" name="m:campusCard:sex" value="${campusCard.sex}" validate="{required:false}"/> --%>
				  	<select id="sex" value='' name="m:campusCard:sex" style="border:1px solid #eee;width:100%;padding:6px 0;margin-top:10px;">
				  		<option value="">--------请选择性别-------</option>
						<option value="0" <c:if test="${campusCard.sex==0}">selected</c:if>>男</option>
						<option value="1" <c:if test="${campusCard.sex==1}">selected</c:if>>女</option>
				 	</select>		
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">SCHOOLYEAR</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:schoolyear" value="${campusCard.schoolyear}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" style="display:none;">
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">PIDTITLE</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:pidtitle" value="${campusCard.pidtitle}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">楼栋号</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:buildnum"" value="${buildnum}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			 	<div class="fr_response_field col-sm-3" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">房号</label>
				  	<div class="fr-form-block" data-type="fixed">
				<input type="text" class="fr-form-control" name="m:campusCard:roomnum" value="${roomnum}" validate="{required:false}"/>
				  					
				 	</div>
			  	</div>
			</div>
			<div class="fr_response_field col-sm-3" >
			 	<div class="fr-form-group"> 
				 	<label class="fr-control-label">权限类型</label>
				  	<div class="fr-form-block" data-type="fixed">
				  		<select id="rolecode" value='' name="m:campusCard:rolecode" style="border:1px solid #eee;width:100%;padding:6px 0;margin-top:10px;">
				  		<option value="">--------请选择权限类型-------</option>
				 	<c:forEach items="${roleList}" var="role">
						<option value="${role.rolecode}" <c:if test="${rolecode==role.rolecode}">selected</c:if>>${role.rolename}</option>
					</c:forEach>
				 	</select>
				 	</div>
			  	</div>
				</div>
</form>

			</div>
		</div>
	</body>
</html>